package myschool.myshchool15.mystudent;/*
 * 运算符
 */

public class Operator {
    public static void main(String[] args) {
        int num1 = 5;
        int num2 = 2;
        int a = num1 % num2;
        int b = num1 / num2;
        System.out.println(num1+"%"+num2+"="+a);
        System.out.println(num1+"/"+num2+"="+b);

        num1++;
        num2--;
        System.out.println("num1="+num1);
        System.out.println("num2="+num2);

    }
}
